package xy.boot.value.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Classname SysConfig
 * @Description TODO
 * @Date 2023/7/10 10:56
 * @Created by wangxianlin
 */
@Data
@Component
@ConfigurationProperties(prefix = "sys")
public class SysConfig {
    private String name;
    private Integer age;
    private Boolean flag;
}
